<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	  <script>
	      let oW=new Worker('sub.js');
        oW.onmessage=function (ev){
          alert(ev.data);
        };
        oW.postMessage({a:5,b:6});
        //oW.terminate();
	  </script>
	</body>
</html>
